package com.nn.smart.bus.commons.tools.constant;

import org.apache.commons.codec.CharEncoding;
import org.springframework.http.MediaType;


/**
 * 字符串常量
 *
 * @author nanning
 */
public interface StrConstant {

    String UTF_8 = CharEncoding.UTF_8;

    String ISO_8859_1 = CharEncoding.ISO_8859_1;

    String JAVASCRIPT = "javascript";

    String APPLICATION_JSON_UTF8_VALUE = MediaType.APPLICATION_JSON_UTF8_VALUE;

    String SUFFIX_EXCEL_2003 = ".xls";

    String SUFFIX_EXCEL_2007 = ".xlsx";

    String SUFFIX_IMG_PNG = "png";

    String SUFFIX_IMG_JPG = "jpg";

    /**
     * 连字符号、短杠
     */
    String HYPHEN = "-";

    /**
     * 英文逗号
     */
    String COMMA = ",";

    /**
     * 冒号
     */
    String COLON = ":";

    /**
     * 问号
     */
    String QUESTION_MARK = "?";

    /**
     * 星号
     */
    String ASTERISK = "*";

    /**
     * 下划线
     */
    String UNDERSCORE = "_";

    /**
     * 星号
     */
    String DOT = ".";

}
